"""API v1版本"""
from flask import Blueprint
from flask_smorest import Api

from app.extensions import api

# 创建v1蓝图
api_v1_bp = Blueprint(
    'api_v1',
    __name__,
    description='API v1版本'
)

# 导入所有API模块
from app.api.v1 import auth, users

# 注册蓝图到API
api.register_blueprint(auth.auth_bp)
api.register_blueprint(users.users_bp) 